<?php

define('ML_CATELOG_FEEDING' , '1000000000');//喂养
define('ML_CATELOG_CLEAN' , '2000000000');//卫生
define('ML_CATELOG_FOOD' , '3000000000');//食品
define('ML_CATELOG_CLOTHES' , '4000000000');//服装
define('ML_CATELOG_3C', '5000000000');//家电
define('ML_CATELOG_FURNITURE', '6000000000');//家俱
define('ML_CATELOG_JOY', '7000000000');//玩具
define('ML_CATELOG_EDU', '8000000000');//教育

define('ML_CATELOG_MAX' , '9900000000');

$ML_CATELOG = array(
    ML_CATELOG_FEEDING   => '喂养',
    ML_CATELOG_CLEAN      => '卫生',
    ML_CATELOG_FOOD       => '食品',
    ML_CATELOG_CLOTHES => '服装',
    ML_CATELOG_3C    => '家电',
    ML_CATELOG_FURNITURE    => '家俱',
    ML_CATELOG_JOY    => '玩具',
    ML_CATELOG_EDU    => '教育',
);

$ML_CATELOG_REV = array(
    '喂养'    =>  ML_CATELOG_FEEDING,
    '卫生'    =>  ML_CATELOG_CLEAN,
    '食品'    =>  ML_CATELOG_FOOD ,
    '服装'    =>  ML_CATELOG_CLOTHES,
    '家电'    =>  ML_CATELOG_3C,
    '家俱'    =>  ML_CATELOG_FURNITURE,
    '玩具'    =>  ML_CATELOG_JOY,
    '教育'    =>  ML_CATELOG_EDU,
);

$ML_CTG_MAX_LIMIT = array(
    ML_CATELOG_FEEDING => ML_CATELOG_CLEAN,
    ML_CATELOG_CLEAN => ML_CATELOG_FOOD,
    ML_CATELOG_FOOD => ML_CATELOG_CLOTHES,
    ML_CATELOG_CLOTHES => ML_CATELOG_3C,
    ML_CATELOG_3C => ML_CATELOG_FURNITURE,
    ML_CATELOG_FURNITURE => ML_CATELOG_JOY,
    ML_CATELOG_JOY => ML_CATELOG_EDU,
    ML_CATELOG_EDU => ML_CATELOG_MAX,
    
);
$ML_GUANG_CATELOG = array(
        '上衣' => ML_CATELOG_CLO_WARE,
        '裙子' => ML_CATELOG_CLO_SKIRT,
        '裤子' => ML_CATELOG_CLO_PANTS,
        '内衣' => ML_CATELOG_CLO_UNDER,
        '鞋子' => ML_CATELOG_CLEAN,
        '包包' => ML_CATELOG_FOOD,
        '配饰' => ML_CATELOG_CLOTHES,
        '美容' => ML_CATELOG_3C,
);

define('ML_TAGTYPE_OTHER', 0);
define('ML_TAGTYPE_CLASS', 1);
define('ML_TAGTYPE_STYLE', 2);
define('ML_TAGTYPE_ELEMENT', 3);
define('ML_TAGTYPE_COLOR', 4);
define('ML_TAGTYPE_MATERIAL', 5);
define('ML_TAGTYPE_BRAND', 6);

$ML_TAG_TYPE = array(
    '品类词' => ML_TAGTYPE_CLASS,
    '风格' => ML_TAGTYPE_STYLE,
    '元素' => ML_TAGTYPE_ELEMENT,
    '颜色' => ML_TAGTYPE_COLOR,
    '材料' => ML_TAGTYPE_MATERIAL,
    '其它' => ML_TAGTYPE_OTHER,
    '品牌' => ML_TAGTYPE_BRAND,
);

define('ML_COLOR_RED', 1);
define('ML_COLOR_ORANGE', 2);
define('ML_COLOR_YELLOW', 3);
define('ML_COLOR_GREEN', 4);
define('ML_COLOR_BLUE', 5);
define('ML_COLOR_PURPLE', 6);
define('ML_COLOR_WHITE', 7);
define('ML_COLOR_GRAY', 8);
define('ML_COLOR_BLACK', 9);
define('ML_COLOR_BROWN', 10);
define('ML_COLOR_PINK', 11);
define('ML_COLOR_TRANS', 12);
define('ML_COLOR_NUDE', 13);
define('ML_COLOR_PATTERN', 14);
define('ML_COLOR_METAL', 15);

$ML_COLOR = array(
    ML_COLOR_RED => '红色',
    ML_COLOR_ORANGE => '橙色',
    ML_COLOR_YELLOW => '黄色',
    ML_COLOR_GREEN => '绿色',
    ML_COLOR_BLUE => '蓝色',
    ML_COLOR_PURPLE => '紫色',
    ML_COLOR_WHITE => '白色',
    ML_COLOR_GRAY => '灰色',
    ML_COLOR_BLACK => '黑色',
    ML_COLOR_BROWN => '棕色',
    ML_COLOR_PINK => '粉色',
    ML_COLOR_TRANS => '透明',
    ML_COLOR_NUDE => '裸色',
    ML_COLOR_PATTERN => '图案',
    ML_COLOR_METAL => '金属',
);
$ML_COLOR_RGB = array(
    ML_COLOR_RED => '#c10d01',
    ML_COLOR_ORANGE => '#ff7742',
    ML_COLOR_YELLOW => '#fffa42',
    ML_COLOR_GREEN => '#53ff1a',
    ML_COLOR_BLUE => '#1ab6ff',
    ML_COLOR_PURPLE => '#721aff',
    ML_COLOR_WHITE => '#ffffff',
    ML_COLOR_GRAY => '#898989',
    ML_COLOR_BLACK => '#000000',
    ML_COLOR_BROWN => '#6c4a28',
    ML_COLOR_PINK => '#f8afaa',
);

$ML_GOODSPOINT = array(
    1 => '1分'
);

define(ML_SEX_ALL , 0);
define(ML_SEX_BOY , 1);
define(ML_SEX_GIRL , 2);